<?php defined('LFNC_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: is_mysql_link.lfnc.php 260 2009-06-19 05:22:50Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/mysql/is_mysql_link.lfnc.php $
*/


function is_mysql_link($db) {
	return is_resource_type($db, 'mysql link') || is_resource_type($db, 'mysql link persistent');
}


?>